<template>
  <div>
    <footer class="footer">
      <span class="todo-count"><strong>{{numberS}}</strong>剩余</span>
      <ul class="filters">
        <li>
          <a class="selected" href="#/">全部</a>
        </li>
        <li>
          <a href="#/active">进行中</a>
        </li>
        <li>
          <a href="#/completed">已完成</a>
        </li>
      </ul>
      <button class="clear-completed" @click="clearData">清除已完成</button>
    </footer>
  </div>
</template>

<script>
export default {
  props: {
    numberS: {
      type: Number,
      required: true
    }
  },
  components: {},
  data () {
    return {}
  },
  methods: {
    clearData () {
      this.$emit('clearData')
    }
  }
}
</script>

<style scoped lang="less"></style>
